package org.example.oa.dao;

import org.example.oa.entity.ClaimVoucher;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 对报销单表增删改查
 */
@Repository("claimVoucherDao")
public interface ClaimVoucherDao {

    void insert(ClaimVoucher claimVoucher);
    void update(ClaimVoucher claimVoucher);
    void delete(int id);
    //查询报销单
    ClaimVoucher select(int id);
    //通过创建人人编号查询
    List<ClaimVoucher> selectByCreateSn(String csn);
    //通过待处理人查询
    List<ClaimVoucher> selectByNextDealSn(String ndsn);
}
